{{if isset($tags['content']['tags']) && count($tags['content']['tags']) > 0}}
    <section class="bg-white rounded-xl shadow-sm p-5">
        <h3 class="font-bold text-lg mb-4 flex items-center">
            <i class="fa fa-tags text-primary mr-2"></i> 热门标签
        </h3>
        <div class="flex flex-wrap gap-2">
            {{foreach $tags['content']['tags'] as $tag}}
                <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-primary hover:text-white transition-colors">
                    {{$tag['name']}}
                </a>
            {{/foreach}}
        </div>
    </section>
{{/if}}